<template>
  <div class="scrollbar-container">
    <div class="scrollbar">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      
    };
  },
};
</script>

<style lang="less" scoped>
.scrollbar-container {
  overflow: hidden;
  position: relative;
  background-color: #fff;
  .scrollbar {
    overflow-y: scroll;
    height: 274px;
  }
}

.scrollbar::-webkit-scrollbar {
  width: 8px;
}
.scrollbar::-webkit-scrollbar-thumb {
  background-color: #d9d9d9;
  border-radius: 12px;
  height: 10px;
}

.scrollbar.active::-webkit-scrollbar {
  display: none;
}
.scrollbar.active::-webkit-scrollbar-thumb {
  display: none;
}
</style>